package com.sale.goods.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @Description 物料明细接口
 * @Date 23-07-19
 * @Author hl
 **/
@Data
@NoArgsConstructor
@TableName("goods_material")
public class GoodsMaterial {

    /** id */
    @TableId(value = "goods_id")
    private Long goodsId;

    /** 单据号 */
    private String receiptNo;

    /** 物料id */
    private String materialId;

    /** 数量 */
    private int goodsNum;

    /** 单价 */
    private BigDecimal goodsPrice;

    /** 金额 */
    private BigDecimal goodsAmount;

    /** 税率 */
    private int goodsTaxRate;

    /** 税额 */
    private BigDecimal goodsTaxAmount;

    /** 关联id */
    private Long invoiceId;


}
